package cn.com.nes.site.service.system.user.impl;

import cn.com.nes.mybatis.callcenter.entity.CcUser;
import cn.com.nes.mybatis.callcenter.mapper.CcUserMapper;
import cn.com.nes.site.entity.vo.workOrder.SaveCcUserVo;
import cn.com.nes.site.service.system.user.CcUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class CcUserServiceImpl implements CcUserService {
    @Resource
    private CcUserMapper ccUserMapper;

    @Override
    public List<CcUser> selectList(String erUserId) {
        return ccUserMapper.getCcUserList(erUserId);
    }

    @Override
    public CcUser getCcUser(Long userId) {
        return ccUserMapper.selectById(userId);
    }

    @Override
    public void updateUserCoordinate(SaveCcUserVo vo) {
        ccUserMapper.updateUserCoordinate(vo);
    }
}
